-
Home
-
Resurs Bank Payments for WooCommerce
-
1.0.33
-
Code
-
Classes
- RepositoryTest
Total Complexity |
35 |
Dependencies |
84 |
Dependents |
0 |
Total lines |
1,184 |
Lines of code |
703 |
Logical lines of code |
161 |
Comment lines |
340 |
Methods |
23 |
Properties |
2 |
Methods 23
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
testValidateCheckoutModel() |
A |
33 |
2 |
116 |
testPartialCapture() |
S |
40 |
4 |
66 |
testUpdate() |
S |
38 |
2 |
80 |
setUp() |
S |
50 |
3 |
29 |
testPartialRefund() |
S |
43 |
1 |
57 |
testRefund() |
S |
47 |
1 |
43 |
testWebhookRequestDataWithPostParameter() |
S |
52 |
2 |
28 |
getShippingMethods() |
S |
47 |
1 |
42 |
testCapture() |
S |
47 |
1 |
41 |
testCancel() |
S |
47 |
1 |
41 |
testSetShippingMethods() |
S |
54 |
2 |
22 |
testGetWebhookRequestData() |
S |
55 |
2 |
21 |
validateCheckout() |
S |
55 |
2 |
20 |
testSetCart() |
S |
56 |
1 |
19 |
testPatchCart() |
S |
58 |
1 |
16 |
tearDown() |
S |
71 |
2 |
6 |
testDeleteCartItem() |
S |
59 |
1 |
14 |
testSetOrderReference() |
S |
61 |
1 |
13 |
testInit() |
S |
67 |
1 |
8 |
testGet() |
S |
65 |
1 |
9 |
testMinimalInit() |
S |
76 |
1 |
4 |
initMini() |
S |
80 |
1 |
3 |
initFull() |
S |
74 |
1 |
5 |